#include <iostream>
using std::cout;
using std::endl;

#include "NewCorp.h"
CNewCorp::CNewCorp( IProduct *pproduct )
{
    this->m_pProduct = pproduct;
}

CNewCorp::~CNewCorp(void)
{ }

void CNewCorp::run()
{
	cout << "ready to run ........"<<endl;
    //每个公司都是一样，先生产
    this->m_pProduct->BeProducted();

    //然后销售
    this->m_pProduct->BeSelled();

    
}